package com.ruoyi.auth.service.feign;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.culture.domain.RegisterPart;
import com.ruoyi.system.api.domain.SysUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(contextId = "AuthRegisterService", value = "culture", url = "localhost:8080/culture")
public interface AuthRegisterService {

    @PostMapping("/cultureUser/register")
    AjaxResult addOne(@RequestBody RegisterPart registerPart);


}
